Freescale Semiconductor /MK50D7 /CMP1 /CR1

Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text

Interpret as CR1

7 43 0 0 00 0 0 0 0 0 0 0 0 (0)EN 0 (0)OPE 0 (0)COS 0 (0)INV 0 (0)PMODE 0 (0)WE 0 (0)SE

WE=0, SE=0, COS=0, EN=0, PMODE=0, INV=0, OPE=0

Description

CMP Control Register 1

Fields

EN

Comparator Module Enable

0 (0): Analog Comparator disabled.

1 (1): Analog Comparator enabled.

OPE

Comparator Output Pin Enable

0 (0): The comparator output (CMPO) is not available on the associated CMPO output pin. Instead, the INV bit is driven if the comparator owns the pin (usually a result of properly setting pin mux controls at the SoC level). If the comparator does not own the pin, this bit has no effect.

1 (1): The comparator output (CMPO) is available on the associated CMPO output pin. The comparator output (CMPO) is driven out on the associated CMPO output pin if the comparator owns the pin. If the comparator does not own the pin, this bit has no effect.

COS

Comparator Output Select

0 (0): Set CMPO to equal COUT (filtered comparator output).

1 (1): Set CMPO to equal COUTA (unfiltered comparator output).

INV

Comparator INVERT

0 (0): Does not invert the comparator output.

1 (1): Inverts the comparator output.

PMODE

Power Mode Select

0 (0): Low Speed (LS) comparison mode selected. In this mode, CMP has slower output propagation delay and lower current consumption.

1 (1): High Speed (HS) comparison mode selected. In this mode, CMP has faster output propagation delay and higher current consumption.

WE

Windowing Enable

0 (0): Windowing mode not selected.

1 (1): Windowing mode selected.

SE

Sample Enable

0 (0): Sampling mode not selected.

1 (1): Sampling mode selected.

Links

() ()